#pragma once

#include "I_ZAManager.h"
#include "WebCtrl.h"

class CZAManagerImpl : public I_ZAManager, public CWnd
{
public:
	CZAManagerImpl();
	~CZAManagerImpl();

public:
	virtual void Release();
	virtual BOOL Init(PZAMANAGERINIT pInit);

	virtual BOOL GetBaseInfo(PZAMANAGERBASEINFO pInfo);
	virtual void SetBaseInfo(PZAMANAGERBASEINFO pInfo);
	virtual void FreeBaseInfo(PZAMANAGERBASEINFO pInfo);
	
	virtual UINT GetWebsiteInfoCount();
	virtual BOOL GetWebsiteInfo(PZAMANAGERWEBSITEINFO pArr, UINT nCount);
	virtual BOOL CheckWebsiteInfo();
	virtual BOOL PostWebsiteInfo();
	virtual void FreeWebsiteInfo(PZAMANAGERWEBSITEINFO pArr, UINT nCount);

private:
	CWebCtrl* m_pWeb;
};